LLM Workflow Tip: Clipboard ⇄ Vim Loop

Added at: June 23, 2025

  1. Harvest in bulk
    Let ChatGPT (or any LLM app) produce large, unpolished chunks—don't worry about structure yet.
  2. Refine offline
    Copy the raw text (pbcopy, xclip, or wl-copy) into Vim and shape it: reorder lines, split ideas, delete fluff, run macros—whatever tightens the narrative.
  3. Round-trip effortlessly
    When Vim polishing is done, yank the buffer to the system clipboard (:%y+ or :%w !pbcopy/xclip/wl-copy) and paste it back into the chat. → You bypass chat-input limits and keep Vim's power while still tapping the LLM for new content or rewrites.
View Example Workflow →